
import React from 'react';

class Hello extends React.Component {
    render() {
        return React.createElement('div',null,`Hello ${this.props.name}`)
    }
}

export default function NoJsx() {
    return (
        <div>
            <h1>不使用JSX</h1>
            <Hello name='tianxia'/>
        </div>
    )
}